package com.opo5.logisticsmanagement.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.opo5.logisticsmanagement.Vo.StatisUserVo;
import com.opo5.logisticsmanagement.Vo.UserVo;
import com.opo5.logisticsmanagement.common.R;
import com.opo5.logisticsmanagement.domain.User;

/**
* @author lixin
* @description 针对表【tbs_user】的数据库操作Service
* @createDate 2022-07-10 08:55:41
*/
public interface UserService extends IService<User> {

    R getUserByCondition(String nickname, Integer currentPage, Integer pageSize);

    R getUserById(Integer id);

    R addUser(UserVo userVo);

    R editUser(UserVo userVo);

    R delUser(Integer[] ids);
    Page<StatisUserVo> statisUser(Page ipage, int year);
    //Page<NewVo> getPageVo(Page<NewVo> iPage);

}
